logo  
Google
 

DB2 SQL-Error: -130

SQLState: 22019 if other than invalid ESCAPE

Short Description: THE ESCAPE CLAUSE CONSISTS OF MORE THAN ONE CHARACTER OR THE STRING PATTERN CONTAINS AN INVALID OCCURRENCE OF THE ESCAPE CHARACTER

The ESCAPE character must be a single character, either SBCS or DBCS as appropriate. For 'column-name LIKE pattern', the ESCAPE character can only appear in the character string if it is followed by itself, %, or _ (underscore). The Escape Clause cannot be specified if the column name at the left of the LIKE or NOT LIKE has the MIXED subtype. System action: The statement cannot be executed. Programmer response: Correct the string pattern, or choose a different ESCAPE character and change the pattern accordingly, or eliminate the use of the Escape Clause on the LIKE or NOT LIKE predicate where the column name to the left has the MIXED subtype.

 <-  BACK TO INDEX